package com.bjpowernode.rbac.mapper;

import com.bjpowernode.rbac.entity.Department;
import com.bjpowernode.rbac.query.QueryObject;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DepartmentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Department record);

    int insertSelective(Department record);

    Department selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);

    List<Department> selectByCondition(QueryObject queryObject);
}